package org.spbsu.apco.testing.taskset;

import org.spbsu.apco.common.task.impl.CommandLineTask;
import org.spbsu.apco.server.taskset.BaseTaskSet;

import java.util.Arrays;

/**
 * User: solozobov
 * Date: 25.11.12
 */

public class LsTaskSet extends BaseTaskSet {
    @Override
    public void initializeTasks() {
        addLeafTask(new CommandLineTask(), Arrays.asList("ls"));
        addLeafTask(new CommandLineTask(), Arrays.asList("uname -a"));
        addLeafTask(new CommandLineTask(), Arrays.asList("ps -aux"));
        addLeafTask(new CommandLineTask(), Arrays.asList("man join > man && cat man && rm man"));
    }
}